import sys
from flask import Flask
from pathlib import Path


if __name__ == "__main__":
    sys.path.append(
        Path(__file__).absolute().parent.parent.__str__()
    )

from base_frame import Application

@Application.app.route("/")
def hello_world():
    return "<h1 align=\"center\">hello world!</h1>"


if __name__ == "__main__":
    app = Application()

    app.start_app(function=hello_world)